Skip to content

[build] add code coverage to provider-matrix workflow - #352

Merged
zimmy87 merged 67 commits into
mainfrom
user/v-davidz/provider_integration_cov
Jul 7, 2026
Merged

[build] add code coverage to provider-matrix workflow#352
zimmy87 merged 67 commits into
mainfrom
user/v-davidz/provider_integration_cov

Conversation

@zimmy87

@zimmy87 zimmy87 commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 30, 2026 01:05
@zimmy87 zimmy87 linked an issue Apr 30, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repo’s xtask and CI workflow so the provider_integration GitHub Actions job runs integration tests under cargo llvm-cov and emits a coverage summary via xtask precheck --coverage-report.

Changes:

  • Extend xtask coverage to accept nextest-like arguments (features/package/profile/filterset/exclude) and forward them to cargo llvm-cov nextest.
  • Update xtask precheck to pass coverage configuration (and to run multiple coverage invocations in the default “SDK” path).
  • Switch provider_integration workflow steps from --nextest to --coverage, and add a coverage summary step.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
xtask/src/precheck.rs Routes precheck --coverage into parameterized Coverage runs (default SDK + resiliency runs, or user-provided package/features).
xtask/src/coverage.rs Adds CLI flags to Coverage and builds argument lists for cargo llvm-cov nextest.
.github/workflows/rust.yml Runs provider integration test packages with coverage and adds a coverage summary report step.

Comment thread xtask/src/precheck.rs Outdated
Comment thread .github/workflows/rust.yml Outdated
Comment thread xtask/src/coverage.rs
Comment thread xtask/src/precheck.rs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 30, 2026 20:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread xtask/src/precheck.rs Outdated
…h default precheck runs

Agent-Logs-Url: https://github.com/Azure/azihsm-sdk/sessions/c036d7d2-3887-40af-8d85-48d245439a70

Co-authored-by: zimmy87 <5205889+zimmy87@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 1, 2026 18:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings May 1, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comment thread xtask/src/precheck.rs Outdated
Comment thread .github/workflows/rust.yml Outdated
Comment thread xtask/src/coverage.rs Outdated
Comment thread xtask/src/coverage_report.rs
Copilot AI review requested due to automatic review settings May 18, 2026 18:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

@zimmy87
zimmy87 marked this pull request as ready for review July 2, 2026 23:57
Copilot AI review requested due to automatic review settings July 2, 2026 23:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

Comment thread .github/workflows/provider-matrix.yml Outdated
Comment thread .github/workflows/provider-matrix.yml Outdated
Copilot AI review requested due to automatic review settings July 7, 2026 00:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/provider-matrix.yml Outdated
Comment thread xtask/src/coverage_report.rs Outdated
Comment thread xtask/src/coverage_report.rs Outdated
Comment thread xtask/src/coverage_report.rs Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 7, 2026 00:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comment thread xtask/src/coverage.rs Outdated
Copilot AI review requested due to automatic review settings July 7, 2026 15:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/provider-matrix.yml
Comment thread .github/workflows/provider-matrix.yml
@zimmy87 zimmy87 changed the title [build] add code coverage to provider_integration workflow [build] add code coverage to provider-matrix workflow Jul 7, 2026
@zimmy87
zimmy87 requested a review from rajesh-gali July 7, 2026 17:30
@zimmy87
zimmy87 added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit 1c24233 Jul 7, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[task] add code coverage to provider_integration

4 participants